package io.github.handyang.algorithms;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class Main {
    public static void main(String[] args) {
        System.out.println(Integer.toBinaryString(-10).subSequence(24, 32));
        System.out.println(Integer.toBinaryString(-10 >> 1));
        System.out.println(Integer.toBinaryString(-10 >>> 1));


        System.out.println(Integer.toBinaryString(10));
        System.out.println(Integer.toBinaryString(10 >> 1));
        System.out.println(Integer.toBinaryString(10 >>> 1));

    }
}
